home *** CD-ROM | disk | FTP | other *** search
/ Joint Education Initiative / Joint Education Initiative.iso / dos / idrisi / idrisi.txt < prev    next >
Text File  |  1990-06-20  |  67KB  |  1,394 lines

  1. MODULE DESCRIPTIONS (JEDI Disk Subset)
  2.  
  3.  
  4.  
  5. Each of the IDRISI modules in the JEDI Disk Subset set is described
  6. in the following section. Modules are arranged in alphabetic order.
  7. Characters contained in quotes are intended to indicate the literal
  8. characters that one would type in response to a user prompt. The
  9. quotes should themselves be omitted. Thus, for example, "km"  in-
  10. dicates that one should type km, not quote-km-quote.
  11.  
  12. Error messages that are particular to a module are listed. In cases
  13. where the message is self-explanatory, no further explanation is
  14. given. If you encounter an error message that is not listed, it is
  15. a general IDRISI message. Refer to the ERROR MESSAGES section for
  16. these.
  17.  
  18. COLOR
  19.  
  20. Version : 3.xx
  21.  
  22.       (Different versions exist for various display adaptors. During
  23.       installation, the version chosen (eg. COLOREVA.EXE) is
  24.       normally renamed to be COLOR.EXE.  The filename of each
  25.       version, as it is distributed, is listed with each of the
  26.       specific device descriptions below.)
  27.  
  28. Purpose :
  29.  
  30.       COLOR is a display module intended for the rapid examination
  31.       of images in color on selected hardware devices. Titles and
  32.       legends stored in the documentation files of images will also
  33.       be displayed. The spatial and color resolution will vary
  34.       considerably, depending upon the particular device being used.
  35.       Because of these differences, separate module descriptions are
  36.       given for each version. Note that the EGA/VGA driver is the
  37.       preferred version of COLOR for working with IDRISI. It offers
  38.       substantially more features as well as higher resolution. 
  39.  
  40. Command Line Parameters :
  41.  
  42.       Color normally expects to display an image of integer color
  43.       codes. For example, the version of COLOR for the IBM EGA
  44.       display adaptor can display 16 colors, and therefore expects
  45.       an image composed of integer codes within a range of 0 - 15.
  46.       STRETCH can be used to generate such an image.  However, COLOR
  47.       can also produce an immediate image of any file through
  48.       autoscaling. By specifying an "a" command line parameter after
  49.       its name (ie., "COLOR a") autoscaling will be invoked. With
  50.       autoscaling, the minimum and maximum values in the
  51.       documentation file for the image are used to classify all
  52.       image values (either integer or real) to an appropriate color.
  53.       This is good for a "quick look" but generally STRETCH produces
  54.       a more informative result.
  55.  
  56.  
  57. EGA/VGA VERSION  : COLOREVA.EXE Version 3.06
  58.  
  59. Operation :
  60.  
  61.       This version of COLOR works with both EGA and VGA graphics
  62.       adaptors. It should be renamed COLOR.EXE for use (this is done
  63.       automatically in the installation process). This module can
  64.       automatically sense whether an EGA or VGA adaptor is present
  65.       and adapt accordingly.
  66.  
  67.       COLOR begins by asking for the name of the image to be
  68.       displayed. It then asks for the palette to be used. If an EGA
  69.       card is in effect, the default IDRISI palette, the standard
  70.       IBM palette and a user-defined palette will be offered. If a
  71.       VGA is present an additional grey scale palette will also be
  72.       offered. If the user-defined palette is chosen, you will then
  73.       be asked to enter the name of the palette file (see the notes
  74.       section below concerning its format). COLOR next asks if you
  75.       wish a legend and the expansion factor to be used in
  76.       displaying the image.  For the expansion, enter an integer
  77.       number (eg., 2, 3, 4 etc). If the image is too large to fit
  78.       into the available display space, you will then be prompted
  79.       to select the start and end columns and rows for the
  80.       displayed image.  After the image is displayed, the normal
  81.       text screen can be restored by pressing return.
  82.  
  83.       The EGA/VGA version of COLOR also supports a wide range of
  84.       operations while the image is being viewed, such as on-screen
  85.       digitizing, image inquiry, and vector file overlay. The on-
  86.       screen digitizing and interactive inquiry capabilities both
  87.       require a Microsoft-compatible mouse.  See the notes section
  88.       below for specific details. The interactive query feature is
  89.       important for identifying feature positions when using
  90.       RESAMPLE. The on-screen digitizing feature is almost essential
  91.       for defining training areas when using the supervised
  92.       classification features of the Image Processing Ring. It can
  93.       also be used very effectively for updating existing images as
  94.       well as digitizing features that are visible on remotely
  95.       sensed images.
  96.  
  97. Notes :
  98.  
  99. 1.    Pressing the letter "c" while the image is on view will cause
  100.       the EGA/VGA version of color to enter cursor inquiry mode if
  101.       a Microsoft- compatible mouse is present. Be sure that the
  102.       memory- resident driver for the mouse has been loaded prior
  103.       to running COLOR, otherwise it will ignore all attempts to
  104.       enter inquiry mode.
  105.  
  106.       When inquiry mode has been entered, a cross-shaped cursor will
  107.       pop up onto the center of the screen and a column and row
  108.       indicator will appear in the lower left-hand corner. These
  109.       indicators will always show the correct image position, even
  110.       when the image is expanded. Note that they will also change
  111.       color if the cursor is moved off the image.
  112.  
  113.       If the image is an unpacked binary image, you may press the
  114.       left mouse button to inquire about the value (z) at that
  115.       point. If it is not an unpacked binary image, COLOR will
  116.       ignore the left mouse button. When an inquiry is made, the
  117.       mouse will freeze at that position and display the correct
  118.       value. To unfreeze the display, press the left mouse button
  119.       a second time and move the mouse.
  120.  
  121.       To exit inquiry mode, press the right mouse button.
  122.  
  123. 2.    Pressing the letter "d" while the image is on screen will
  124.       cause the EGA/VGA version of color to enter on-screen
  125.       digitizing mode. It will first ask for the type of feature to
  126.       be digitized. Press "P" for point, "L" for line, or "A" for
  127.       area (polygon). This question will only be asked the first
  128.       time a request to digitize has been made.
  129.  
  130.       COLOR will next ask for an identifier for the feature to be
  131.       digitized.  Enter an integer number followed by the return
  132.       key. (Only integer identifiers may be used with on-screen
  133.       digitizing - use a values file to assign real number values
  134.       to any identifier). If the feature type is point, you will
  135.       actually be asked for the start identifier, after which it
  136.       will automatically increment the identifier with each point
  137.       digitized. In this manner, many points may be digitized at
  138.       once. For lines or polygons, only a single feature is
  139.       digitized at one time.
  140.  
  141.       You may now begin digitizing. Move the cursor to each point
  142.       in the feature and press the left mouse button to cause it to
  143.       be digitized.  The feature will be drawn on the screen as you
  144.       digitize. To finish digitizing the feature (or the set of
  145.       features in the case of points), press the right mouse button. 
  146.       You will then be asked whether you wish to keep that feature.
  147.       If there have been any errors, indicate "no" by pressing "n".
  148.       Note that in the case of polygons, you do not need to close
  149.       a polygon yourself. Pressing the right mouse button to stop
  150.       digitizing will automatically close the polygon by joining the
  151.       first and last points.
  152.  
  153.       After you have digitized a feature, you will be returned to
  154.       normal image viewing mode. To digitize another feature, simply
  155.       press "d"  again. You may do this as many times as you wish.
  156.       Once you finally exit COLOR (by pressing return while in
  157.       normal image viewing mode) you will be asked to give a name
  158.       and a title to the vector file you have created. If you decide
  159.       you do not wish to keep your digitized data, you can respond
  160.       by giving the name "quit".
  161.  
  162. 3.    Pressing a "v" while the image is on screen will cause the
  163.       EGA/VGA version of COLOR to overlay a vector file onto the
  164.       image. It is assumed that the image and vector files are
  165.       coincident (ie., that the minimum and maximum X and Y values
  166.       listed for the vector file coincide with the minimum and
  167.       maximum columns and rows of the image on display). COLOR will
  168.       first ask for the name of the vector file to be displayed. It
  169.       will then ask for the color code to be used. Specifying an
  170.       integer number between 0 and 15 will cause all features in the
  171.       vector file to be given an identical color using the color
  172.       index chosen. If, however, you simply press return (or enter
  173.       any text string such as "none"), COLOR will then use the
  174.       identifiers of the vector features as the means of assigning
  175.       colors (ie., an identifier of 6 will cause the feature to be
  176.       given color 6).  Identifiers greater than 15 will be given
  177.       color 15.  Negative identifiers will be assumed to be
  178.       "negative" space associated with the previous feature (eg.,
  179.       holes within polygons). Any number of vector files may be
  180.       overlaid onto an image.
  181.  
  182. 4.    Palette files contain instructions on the formation of
  183.       specific color schemes. Palette files must have a ".pal"
  184.       extension and should be located in your IDRISI directory
  185.       (rather than your data directory). For EGA graphics cards, the
  186.       palette file should be a simple ASCII file with two columns
  187.       separated by one or more spaces. The first column should
  188.       contain the numbers 0 through 15. These are the legend
  189.       category numbers.  The second column should contain EGA color
  190.       index numbers which range from 0-63. If a VGA card is in use,
  191.       the palette file should be a simple ASCII file with four
  192.       columns of numbers separated by one or more spaces.  Again,
  193.       the first column should contain legend category numbers from
  194.       0- 15. The second column specifies the strength of red in the
  195.       color being specified, using an integer number from 0 (none)
  196.       to 63 (full strength).  The third and fourth columns specify
  197.       the strength of green and blue respectively, again using this
  198.       0-63 numbering system. As an illustration of the use of
  199.       palette files, here are two examples of palette files, one for
  200.       the EGA and one for the VGA, that will each produce the same
  201.       color sequence as the IDRISI default color set.
  202.  
  203.       EGA example:                              VGA example :
  204.  
  205.        0     0                                   0     0     0     0
  206.        1     8                                   1     0     0    23
  207.        2     1                                   2     0     0    47
  208.        3     9                                   3     0     0    63
  209.        4    41                                   4    23     0    63
  210.        5    13                                   5    47     0    63
  211.        6    45                                   6    63     0    63
  212.        7    37                                   7    63     0    47
  213.        8    44                                   8    63     0    23
  214.        9    36                                   9    63     0     0
  215.       10    52                                  10    63    23     0
  216.       11    38                                  11    63    47     0
  217.       12    54                                  12    63    63     0
  218.       13    22                                  13    47    63     0
  219.       14    50                                  14    23    63     0
  220.       15     2                                  15     0    47     0
  221.  
  222.       If you create a new palette that you use very often, you can
  223.       give it a special name to allow it to be chosen by default.
  224.       When COLOR asks for the name of the palette file, simply
  225.       pressing return will cause it to look for a file named
  226.       "userdef.pal". Therefore simply give your favorite palette
  227.       file this name.
  228.  
  229. 5.    The EGA/VGA version of color can display only 16 colors at
  230.       once. In the case of EGA adaptors, these 16 can be chosen from
  231.       a total of 64 possible colors. With VGA adaptors, however,
  232.       they may be chosen from 262144 possibilities. As a result,
  233.       very smooth color transitions are possible with the VGA,
  234.       yielding images of almost photographic quality.  The VGA
  235.       adaptor also has a resolution of 640 x 480 while the EGA
  236.       supports 640 x 350.
  237.  
  238. 6.    The EGA color index numbering scheme is quite complex.
  239.       Assuming that the color intensities can be designated by the
  240.       numbers 0 (least) to 3 (most), and that each color is composed
  241.       of three primaries in varying intensities in the order Red
  242.       Green Blue, then Color numbers 0 through 7 have the following
  243.       characteristics:
  244.  
  245.              Color 0    :      0  0  0          Black
  246.                    1    :      0  0  2          Medium Blue
  247.                    2    :      0  2  0          Medium Green
  248.                    3    :      0  2  2          Medium Cyan    (Blue-Green)
  249.                    4    :      2  0  0          Medium Red
  250.                    5    :      2  0  2          Medium Magenta (Red-Blue)
  251.                    6    :      2  2  0          Medium Yellow
  252.                    7    :      2  2  2          Medium Grey
  253.  
  254.       To this basic set, the lower intensities of Colors 1 through
  255.       7 are added to yield the remaining colors. For example, Color
  256.       8 results from adding Dark Blue (0 0 1) to Black (0 0 0) to
  257.       yield Dark Blue.  Color 9 results from adding Dark Blue to
  258.       Medium Blue (0 0 2)  to get Light Blue (0 0 3), and so on, as
  259.       follows :
  260.  
  261.             Colors         8-15     Add Dark Blue           (0 0 1)
  262.                     16-24     Add Dark Green    (0 1 0)
  263.                     24-31     Add Dark Cyan     (0 1 1)
  264.                     32-39     Add Dark Red            (1 0 0)
  265.                     40-47     Add Dark Magenta        (1 0 1)
  266.                     48-55     Add Dark Yellow         (1 1 0)
  267.                     56-63     Add Dark Grey           (1 1 1)
  268.  
  269.       Thus Color 63 which adds Dark Grey (1 1 1) to the Medium Grey
  270.       of Color 7 (2 2 2) yields White (3 3 3). Confused? Reasonably
  271.       enough! Thankfully, the VGA adaptor avoids all of this through
  272.       the use of standard RGB notation.
  273.  
  274. 7.    In the display of legend text, only the first 12 characters
  275.       will be displayed.
  276.  
  277. CGA VERSION : COLORCGA.EXE Version 3.04
  278.  
  279. Operation :
  280.  
  281.       This version of COLOR works with all CGA compatible adaptors,
  282.       including most LCD laptop displays. It has two resolution
  283.       modes -- 160 x 100 resolution with 16 colors and 320 x 200
  284.       resolution with 4 colors. Since the CGA only supports 4 colors
  285.       simultaneously, the 16 color mode is produced by means of
  286.       dither patterns. The module should be renamed COLOR.EXE for
  287.       use (this is done automatically during installation).
  288.  
  289.       COLOR begins by asking for the name of the image to be
  290.       displayed, followed by the resolution to be used.It then asks
  291.       for the palette choice.  These are the standard IBM CGA
  292.       palettes numbered 0-3. It will then ask if you wish a legend
  293.       and the expansion factor to be used. For the expansion, enter
  294.       an integer number (eg., 2, 3, 4 etc). If the image is too
  295.       large to fit into the available display space, you will then
  296.       be prompted to select the start and end columns and rows for
  297.       the displayed image.  After the image is displayed, the normal
  298.       text screen can be restored by pressing return.
  299.  
  300. Notes :
  301.  
  302. 1.    In the display of legend text, only the first 6 characters
  303.       will be displayed.
  304.  
  305. 2.    None of the interactive query, digitizing and vector overlay
  306.       features of the EGA/VGA version are supported by the CGA
  307.       version.
  308.  
  309. HERCULES MONOCHROME : COLORHGA.EXE Version 3.05
  310.  
  311. Operation :
  312.  
  313.       This version of COLOR works with all Hercules monochrome
  314.       compatible adaptors.  Because this is a monochrome device with
  315.       no grey- level support, dither patterns are used as a
  316.       substitute for color. It has two resolution modes -- a 240 x
  317.       174 resolution mode in 7 shades of grey and a 180 x 116
  318.       resolution mode in 13 shades of grey.  The module should be
  319.       renamed COLOR.EXE for use (this is done automatically during
  320.       installation).
  321.  
  322.       COLOR begins by asking for the name of the image to be
  323.       displayed, followed by the resolution to be used.It will then
  324.       ask if you wish a legend and the expansion factor to be used.
  325.       For the expansion, enter an integer number (eg., 2, 3, 4 etc).
  326.       If the image is too large to fit into the available display
  327.       space, you will then be prompted to select the start and end
  328.       columns and rows for the displayed image.  After the image is
  329.       displayed, the normal text screen can be restored by pressing
  330.       return.
  331.  
  332. Notes :
  333.  
  334. 1.    In the display of legend text, only the first 12 characters
  335.       will be displayed.
  336.  
  337. 2.    None of the interactive query, digitizing and vector overlay
  338.       features of the EGA/VGA version are supported by the Hercules
  339.       version.
  340.  
  341.  
  342. General Notes :
  343.  
  344. 1.    If your image appears as primarily a single color, you may
  345.       have forgotten to use the "a" command line parameter.
  346. 2.    When autoscaling is off (the default), real number images
  347.       cannot be viewed.
  348. 3.    When autoscaling is off (the default), integer codes less than
  349.       zero are forced to be zero, and integer codes greater than the
  350.       largest color value are forced to the maximum.
  351.  
  352.  
  353. Error Messages :
  354.  
  355. 1.    Without autoscaling, input file must contain integer color
  356.       codes.
  357.       -     The image you are trying to view contains real numbers.
  358.             Use the autoscaling feature to view this image by
  359.             specifying the "a" command line parameter (see above).
  360.             Otherwise, use STRETCH to create a properly scaled set
  361.             of color index numbers.
  362. 2.  Palette file not found.
  363.       -     palette files should be stored in your IDRISI program
  364.             directory and should be named with a ".pal" file
  365.             extension.
  366.  
  367. 3.    This module requires either an EGA or VGA graphics system.
  368.       -     Generated by the EGA/VGA version if an EGA or VGA board
  369.             is not present
  370. 4.    Your EGA card contains only 64K of memory (128K minimum
  371.       required).
  372. 5.    Monochrome EGA not supported
  373.  
  374.  
  375.  
  376. DESCRIBE
  377.  
  378.  
  379. Version : 3.01
  380.  
  381. Purpose :
  382.  
  383.       DESCRIBE allows one to display the contents of an IDRISI
  384.       documentation file on the screen. It achieves the same end as
  385.       using the TYPE operating system command. However, it has the
  386.       advantage that it reads the IDRISI environment file to
  387.       determine the drive, directory and file extension to be used,
  388.       thus greatly simplifying this operation.
  389.  
  390. Command Line Parameters :
  391.  
  392.       The name of the documentation file to be described may
  393.       optionally be indicated as a command line parameter. See
  394.       below.
  395.  
  396. Operation :
  397.  
  398.       DESCRIBE asks simply for the name of the data file to be
  399.       described. It will then look for all instances of image,
  400.       vector and attribute values files that use that name, and
  401.       describe each in turn.
  402.  
  403.       DESCRIBE can also be run by specifying the file name as a
  404.       command line parameter. Simply type the word DESCRIBE followed
  405.       by the name of the file to be described (without any drive,
  406.       directory or file extension information). For example, if one
  407.       wished to describe the contents of an image named SOILS
  408.       (stored as SOILS.IMG with an accompanying documentation file
  409.       of SOILS.DOC), one would simply type the following :
  410.  
  411.                               DESCRIBE SOILS
  412.  
  413.       The contents of the documentation file for soils will then
  414.       appear on the screen (with pauses if extensive legend material
  415.       is present).
  416.  
  417. Notes :
  418.  
  419. 1.    If you are working on a floppy-disk based system, you should
  420.       be aware that the installation procedure you undertook in
  421.       Section 3 placed a copy of DESCRIBE onto all floppy disks.
  422.  
  423. Error Messages :
  424.  
  425. 1.    Invalid character (".") in ...
  426.       -     File names should be entered without an extension and
  427.             should not contain the "." character.
  428.  
  429.             
  430.  
  431. DOCUMENT
  432.  
  433.  
  434. Version : 3.00
  435.  
  436. Purpose :
  437.  
  438.       DOCUMENT is a Data Management Module designed to create and
  439.       update the documentation files that accompany IDRISI image,
  440.       vector and attribute values files.
  441.  
  442. Command Line Parameters :
  443.  
  444.       Normally, DOCUMENT is used to document image files. However,
  445.       a vector file can be documented by specifying a "v" after the
  446.       DOCUMENT command (ie., "DOCUMENT v") while an attribute values
  447.       file can be documented by entering an "a" command line
  448.       parameter (ie., "DOCUMENT a").
  449.  
  450. Operation :
  451.  
  452.       DOCUMENT first asks for the name of the image, vector or
  453.       values file to be documented (remember to use the "v" command
  454.       line parameter if it is a vector file or an "a" command line
  455.       parameter is it is a values file). If a documentation file for
  456.       the image, vector or values file does not exist, DOCUMENT will
  457.       immediately ask for the information it needs as follows :
  458.  
  459.       A. Image Files
  460.  
  461.       1.    A title.
  462.       2.    The data type (integer, real or byte).
  463.       3.    The file type (ascii, binary or packed).
  464.       4.    The number of rows.
  465.       5.    The number of columns.
  466.       6.    The ground width of each cell (in the x direction).
  467.       7.    The ground height of each cell (ie., the y direction
  468.             length rather than vertical height).
  469.       8.    The number of legend categories. Enter a zero for no
  470.             legend. If a number greater than zero is identified, you
  471.             will be prompted to enter the legend captions one at a
  472.             time.
  473.  
  474.       DOCUMENT then automatically calculates the minimum and maximum
  475.       values in the image file.
  476.  
  477.       B. Vector Files
  478.  
  479.       1.    A title.
  480.       2.    The data type of the identifiers (integer, real).
  481.       3.    The file type (ascii, binary, ascii column or binary
  482.             column). The columns formats consist of a single column
  483.             of numbers in the same manner as the older Version 2
  484.             format (see GETTING STARTED). The non-column formats are
  485.             the usual Version 3 formats as detailed in the GETTING
  486.             STARTED section.
  487.       4.    The object type (point, line, polygon or chain). The
  488.             chain type is not used in this release, but will be
  489.             important when a full vector ring is added.
  490.       5.    The coordinate span (the ground distance represented by
  491.             a coordinate difference of one). See GETTING STARTED and
  492.             the description sheet for DIGITIZE for further
  493.             information.
  494.       6.    The units of this measurement (m,ft,mi,km,deg or rad).
  495.  
  496.       DOCUMENT will then calculate the minimum and maximum X and Y
  497.       coordinates that exist within the file.
  498.  
  499.       C. Attribute Values Files
  500.  
  501.       1.    A title.
  502.       2.    A subtitle.
  503.       3.    A data description. This is usually used to indicate the
  504.             measurement units of the attribute data.
  505.       4.    The classification type. This can be left blank (as can
  506.             any of the entries so far) if necessary since it is
  507.             intended more as an annotation for values files prepared
  508.             for choropleth mapping (a capability that will be
  509.             incorporated in a future release of IDRISI).
  510.       5.    The number of classes. Enter a zero if the data are raw
  511.             data (not classified).
  512.       6.    The data format (integer, real or string). The string
  513.             format is used when the file contains names to describe
  514.             the feature identifier codes.
  515.       7.    The number of legend categories. The legend serves
  516.             exactly the same purpose as that attached to image files.
  517.             Enter a zero if no legend is to be stored. If a number
  518.             greater than zero is identified, you will be prompted to
  519.             enter the legend captions one at a time.
  520.  
  521.       DOCUMENT will then automatically calculate the minimum and
  522.       maximum data values which occur within the file.
  523.  
  524.       In all cases, DOCUMENT will next present a display of the
  525.       current documentation file parameters. If a documentation file
  526.       had already existed, this would be the first display you would
  527.       see. Any parameter can be changed by typing the capitalized
  528.       letter of that parameter, after which a new value will be
  529.       requested.
  530.  
  531.       If the legend is specified for updating, the user will be
  532.       requested for the category number to be updated (or a zero [or
  533.       return]  to quit). New categories can be added by specifying
  534.       a number greater than the currently existing number of
  535.       categories. Legend captions can continue to be added until a
  536.       zero is entered, at which the summary display will appear
  537.       again. Legend captions can be deleted by entering blank lines. 
  538.       In this fashion, a legend can be completely erased, one
  539.       caption at a time.  Experiment --it's easier than this
  540.       description would make it seem!
  541.  
  542.       When the summary display is satisfactory, simply press return
  543.       to save the updated (or new) documentation file.
  544.  
  545.  
  546. Notes : None
  547.  
  548.  
  549. Error Messages : 
  550.  
  551. 1. Non-integer number of points associated with a feature.
  552.       -     This message may appear during the documentation of a
  553.             vector file.  It occurs when it encounters a vector
  554.             feature (point, line, polygon) that states a non-integer
  555.             value for the number of points (x,y pairs) that define
  556.             it. The most likely cause of this is a corrupted vector
  557.             file in which the number of points for a feature (the
  558.             second line in a feature record line group) has been
  559.             omitted, thus causing DOCUMENT to read the first
  560.             coordinate value (a real number)  for this value. Check
  561.             your vector file, and make sure that each feature has an
  562.             identifier and number-of-points line, followed by the
  563.             correct number of x,y pairs.
  564. 2.    Units unrecognizable ... please enter either m,ft,mi,km,deg
  565.        or rad.
  566.  
  567.  
  568.  
  569. ENVIRON
  570.  
  571.  
  572. Version : 3.00
  573.  
  574. Purpose :
  575.  
  576.       A System Operation Module that is used to change the default
  577.       IDRISI operating environment.
  578.  
  579. Command Line Parameters : None
  580.  
  581. Operation :
  582.  
  583.       ENVIRON starts by presenting a summary of the current
  584.       operating environment, with each parameter numbered.
  585.       Parameters are changed by selecting the appropriate number,
  586.       after which the new value is requested. To exit, simply press
  587.       the return (or enter) key.
  588.  
  589. Notes :
  590.  
  591. 1.    The default data disk drive is the drive that IDRISI modules
  592.       use when reading or writing data.
  593. 2.    The default data path should begin and end with a backslash.
  594.       A case of "no path" can be entered by simply pressing return
  595.       when asked to specify the new path name. An entry of "none"
  596.       will then appear in the summary.  3.            File extensions are
  597.       the three letter codes (eg. ".img") which are attached to file
  598.       names to help identify their contents. By default these are
  599.       set to ".img" for image files, ".doc" for image documentation
  600.       files, ".vec" for vector files, ".dvc" for vector
  601.       documentation files, ".val"  for attribute values files, and
  602.       ".dvl" for values documentation files.  They may be changed,
  603.       however, to any convention of preference.
  604. 4.    Cell units are the linear units being used to indicate the
  605.       width (x) and length (y) of cells. Acceptable units are "m"
  606.       (meters), "ft" (feet), "mi" (miles), "km" (kilometers), "deg"
  607.       (degrees) or "rad" (radians).
  608. 5.    The banner, dialogue and message colors can all be changed by
  609.       specifying the standard IBM color numbers which range from 0 -
  610.        15 (see the COLOR description sheet in this section).
  611. 6.    The digitizer and plotter ports refer to the serial ports
  612.       (eg., com1, com2, etc) to which these devices (if present) are
  613.       attached.
  614.  
  615. Error Messages :
  616.  
  617. 1.    Response not understood. Enter a single digit choice.
  618.       -     Response could not be interpreted. Enter only a single
  619.             digit without any other characters (eg. no decimals).
  620. 2.    Enter drive as a single letter.
  621.       -     Disk drive incorrectly entered. Enter as a single letter.
  622. 3.    Invalid path descriptor.
  623.       -     path descriptor must begin and end with a backslash
  624.             ("\").
  625. 4.    Invalid file extension.
  626.       -     the extension must begin with a period and consist of no
  627.             more than three characters (eg : ".doc").
  628.  
  629. 5.    File extension too long.
  630.       -     no more than three characters may follow the period.
  631. 6.    Enter a number between 1 and 14, or press <return> to quit.
  632.       -     the choice you made is not on the menu.
  633.  
  634.       
  635. HISTO
  636.  
  637.  
  638. Version : 3.05
  639.  
  640. Purpose :
  641.  
  642.       HISTO produces frequency histograms of the cell values in
  643.       IDRISI images and query files. HISTO creates histograms by
  644.       dividing the data range (maximum - minimum) into classes with
  645.       a width as specified by the user.  The frequency within each
  646.       class is then tabulated. Both graphic and numeric output
  647.       options are available.
  648.  
  649. Command Line Parameters :
  650.  
  651.       Placing a "p" after the HISTO command (eg., "HISTO p") will
  652.       cause output to be directed to the printer rather than the
  653.       screen (the default). Non-graphic characters will be used (see
  654.       the Operation Section on how to print the true graphic
  655.       version). This version also understands the older "s" command
  656.       line parameter to direct output to the screen (this is the
  657.       default now anyway).
  658.  
  659.  
  660. Operation :
  661.  
  662.       HISTO first asks for the name of the image to be analyzed. It
  663.       then presents the minimum and maximum values in the image and
  664.       asks if they should be reset (for the purposes of creating the
  665.       histogram only -- the image documentation file will not be
  666.       changed). The reason why one would change these is to set
  667.       where the first histogram class will begin and the last will
  668.       end. Whenever the minimum can be reasonably reset to zero it
  669.       is advantageous to do so, since a simple relationship will
  670.       then exist between histogram classes and data values. If the
  671.       entire range of values is desired, the maximum specified
  672.       should exceed the actual maximum since the histogram maximum
  673.       excludes all values greater than or equal to that value. If
  674.       the user responds "y" (yes), HISTO asks for the new minimum
  675.       and maximum values, after which the class width is requested.
  676.  
  677.       Finally, HISTO asks whether graphic or numeric output is
  678.       desired. If graphic output is chosen, the result will depend
  679.       on whether an EGA or VGA graphics adaptor is present. If it
  680.       is, a true graphics plot will result. If not, a character-
  681.       based graphic plot will result with histogram bars being
  682.       identified by class number only. If you are uncertain about
  683.       the data ranges of these classes, run HISTO a second time, and
  684.       ask for numeric output -- numeric output specifies the data
  685.       ranges for each class. In addition to the frequency of cells
  686.       within each class, numeric output also lists the proportion
  687.       of all cells falling within a class, the cumulative frequency,
  688.       and the cumulative proportion (cumulative relative frequency).
  689.  
  690.       If you have an EGA of VGA adaptor, and one of the supported
  691.       graphics printers (see Section 2), you can also produce a plot
  692.       of the graphic histogram by pressing the letter "P" while
  693.       viewing the graphic.
  694.  
  695.  
  696.       Both output types list the class width, histogram maximum and
  697.       minimum, actual maximum and minimum and mean. Graphic output
  698.       also lists the Y-ax
  699.       is scaling factor since it may be necessary to indicate more
  700.       than one cell by each histogram bar symbol. For example, a Y-
  701.       axis scaling factor of 10 indicates that each graphic symbol
  702.       represents 10 cells. Also on the graphic output, classes below
  703.       the actual minimum and classes above the actual maximum are
  704.       not shown. Empty classes therefore can be assumed to indicate
  705.       cases where the frequency is greater than zero, but less than
  706.       the Y-axis scaling factor. For example, if the Y-axis scaling
  707.       factor is 10, an empty class indicates a frequency between 1
  708.       and 10.
  709.  
  710. Notes :
  711.  
  712. 1.    If you are confused by this explanation, experiment. The logic
  713.       is actually quite simple. While you are learning to use HISTO,
  714.       you may want to produce numeric outputs for each graphic
  715.       output you produce. The pair will leave no ambiguity.
  716. 2.    Histogram maximum and minimum values do not have to include
  717.       the actual data range, but can focus on a sub-range. The
  718.       summary at the bottom of the histogram will indicate the
  719.       number of cells not included. The mean will only be calculated
  720.       from the values within the specified histogram range (it will
  721.       indicate the number used).
  722. 3.    HISTO can accommodate a maximum of 1000 classes (producing a
  723.       histogram more than 15 pages long -- more than adequate for
  724.       most applications).
  725.  
  726. Error Messages : None
  727.  
  728.  
  729. ORTHO
  730.  
  731.  
  732. Version : 3.xx
  733.  
  734.       (Different versions exist for various display adaptors. During
  735.       Installation, the version chosen (eg. ORTHOEVA.EXE) is
  736.       normally renamed to be ORTHO.EXE. The filename of each
  737.       version, as it is distributed, is listed with each of the
  738.       specific device descriptions below.)
  739.  
  740. Purpose :
  741.  
  742.       ORTHO displays and prints "three-dimensional" orthographic
  743.       perspective displays of IDRISI images. Normally, the kinds of
  744.       images that would be displayed are surfaces, although any
  745.       IDRISI image may be viewed with this routine. Additionally,
  746.       with the EGA/VGA version of ORTHO, a second color image may
  747.       be "draped" onto the top of the surface displayed.
  748.  
  749. EGA/VGA VERSION  : ORTRHOEVA.EXE Version 3.03
  750.  
  751. Command Line Parameters :
  752.  
  753.       With the EGA/VGA version of ORTHO, a "p" command line
  754.       parameter can be used to direct output to a printer (ie.,
  755.       "ORTHO p"). In doing so, ORTHO will output to the screen while
  756.       it is composing the printed copy in memory. Only after the
  757.       plot is finished will output to the printer begin.  
  758.  
  759. Operation :
  760.  
  761.       ORTHO first asks for the name of the image to be displayed. 
  762.       It will then ask if you wish to drape a second image on top
  763.       of that surface. If you answer yes, it will ask for the name
  764.       of the image to be draped and whether you wish to plot a
  765.       legend. The draped image must be pre-configured into a
  766.       directly displayable format -- ie., it must contain integer
  767.       (or byte) values within a range of 0-15. Use STRETCH or
  768.       RECLASS to create such an image. Like COLOR, ORTHO will
  769.       display a full text legend and will create a title and
  770.       subtitle based on the title of the two images involved. In
  771.       order to do so, ORTHO will also ask for the color palette to
  772.       be used in displaying the draped image. In addition to a set
  773.       of standard options (as in COLOR), a user-defined palette may
  774.       be used. The procedure here is exactly the same as described
  775.       for COLOR.
  776.  
  777.       ORTHO will next display the minimum and maximum values in the
  778.       image and ask if you wish to alter them. Indicating "n" (for
  779.       no) or simply pressing return will cause the image minimum to
  780.       be used as if it were the base level (ie., sea level).
  781.       Altering those values will allow you to change the level of
  782.       the base (by lowering the minimum) and the amount of
  783.       exaggeration (by raising the maximum). However, the
  784.       exaggeration factor can be controlled directly as outlined
  785.       below.
  786.  
  787.       ORTHO next asks for the view direction, the viewing angle, and
  788.       the vertical exaggeration factor. Pressing return in each case
  789.       will choose the defaults of 45 degrees, 30 degrees and 1.0
  790.       respectively.
  791.  
  792.       The view direction is the azimuth of your look direction
  793.       (ie.,the direction to which your eye is pointing). The default
  794.       is 45 degrees (looking north-east), and will thus cause you
  795.       to be looking at the southwest corner of the image as your
  796.       closest point. The view direction may be changed continuously
  797.       by specifying a decimal degree value between 0 (north) and 90
  798.       (East). Other directions may also be achieved by using
  799.       TRANSPOS before viewing to rotate the entire block by 90
  800.       degree increments. For example, to view the image with a look
  801.       direction of 315 degrees (toward the northwest), use TRANSPOS
  802.       to rotate the block 90 degrees counterclockwise and then use
  803.       the default viewing direction in ORTHO.
  804.  
  805.       The viewing angle refers to the inclination of the eye to the
  806.       image plane. The default is 30 degrees above the image plane.
  807.       However, it may be changed continuously (in decimal degrees)
  808.       between 0 (a horizontal view that would allow one to look at
  809.       the image in profile) and 90 degrees (a vertical view that
  810.       would look quite boring -- the image would look like a flat
  811.       venetian blind).
  812.  
  813.       Finally, the vertical exaggeration factor can be used to alter
  814.       the degree of exaggeration in the display. ORTHO is intended
  815.       for non-metric visualization only, and thus employs no metric
  816.       scaling. The degree of exaggeration in a view will depend upon
  817.       several factors. Using the image minimum as the base value
  818.       will lead to the greatest amount of exaggeration as will a
  819.       viewing angle of 0 (horizontal profile). Changing the minimum
  820.       to lower values and higher viewing angles will both lead to
  821.       reduced amounts of exaggeration. Perhaps the easiest way of
  822.       regulating the degree of exaggeration, however, is to set the
  823.       base level and viewing angle to meet logical and perspective
  824.       requirements and then (after looking at the display), to use
  825.       the exaggeration factor to alter a subsequent plot. The
  826.       exaggeration factor is a multiplicative adjustment.  Thus
  827.       specifying a value of 0.5 will halve the amount of
  828.       exaggeration while a value of 2 will double it. Any positive
  829.       value may be specified.  Experiment!
  830.  
  831.       Printing :
  832.  
  833.       The EGA/VGA version of ORTHO can be redirected to a printer
  834.       using the "p" command line parameter (see above). Note that
  835.       all colors are treated as black except color 0. As a result,
  836.       printing of draped images is not supported. A screen capture
  837.       and printing utility such as PIZAZZ Plus (tm) or DELUX PAINT
  838.       II (tm) is recommended for printing draped ORTHO images.
  839.  
  840.  
  841. CGA VERSION : ORTHOCGA.EXE Version 3.01
  842.  
  843. Command Line Parameters : none
  844.  
  845. Operation :
  846.  
  847.       ORTHO first asks for the name of the image to be displayed
  848.       after which it will indicate  the minimum and maximum values
  849.       in the image and ask if you wish to alter them. Indicating "n"
  850.       (for no) or simply pressing return will cause the image
  851.       minimum to be used as if it were the base level (ie., sea
  852.       level). Altering those values will allow you to change the
  853.       level of the base (by lowering the minimum) and the amount of
  854.       exaggeration (by raising the maximum). However, the
  855.       exaggeration factor can be controlled directly as outlined
  856.       below.
  857.  
  858.       ORTHO next asks for the view direction, the viewing angle, and
  859.       the vertical exaggeration factor. Pressing return in each case
  860.       will choose the defaults of 45 degrees, 30 degrees and 1.0
  861.       respectively.
  862.  
  863.       The view direction is the azimuth of your look direction
  864.       (ie.,the direction to which your eye is pointing). The default
  865.       is 45 degrees (looking north-east), and will thus cause you
  866.       to be looking at the southwest corner of the image as your
  867.       closest point. The view direction may be changed continuously
  868.       by specifying a decimal degree value between 0 (north) and 90
  869.       (East). Other directions may also be achieved by using
  870.       TRANSPOS before viewing to rotate the entire block by 90
  871.       degree increments. For example, to view the image with a look
  872.       direction of 315 degrees (toward the northwest), use TRANSPOS
  873.       to rotate the block 90 degrees counterclockwise and then use
  874.       the default viewing direction in ORTHO.
  875.  
  876.       The viewing angle refers to the inclination of the eye to the
  877.       image plane. The default is 30 degrees above the image plane.
  878.       However, it may be changed continuously (in decimal degrees)
  879.       between 0 (a horizontal view that would allow one to look at
  880.       the image in profile) and 90 degrees (a vertical view that
  881.       would look quite boring -- the image would look like a flat
  882.       venetian blind).
  883.  
  884.       Finally, the vertical exaggeration factor can be used to alter
  885.       the degree of exaggeration in the display. ORTHO is intended
  886.       for non-metric visualization only, and thus employs no metric
  887.       scaling. The degree of exaggeration in a view will depend upon
  888.       several factors. Using the image minimum as the base value
  889.       will lead to the greatest amount of exaggeration as will a
  890.       viewing angle of 0 (horizontal profile). Changing the minimum
  891.       to lower values and higher viewing angles will both lead to
  892.       reduced amounts of exaggeration. Perhaps the easiest way of
  893.       regulating the degree of exaggeration, however, is to set the
  894.       base level and viewing angle to meet logical and perspective
  895.       requirements and then (after looking at the display), to use
  896.       the exaggeration factor to alter a subsequent plot. The
  897.       exaggeration factor is a multiplicative adjustment.  Thus
  898.       specifying a value of 0.5 will halve the amount of
  899.       exaggeration while a value of 2 will double it. Any positive
  900.       value may be specified.  Experiment!
  901.  
  902.       Printing :
  903.  
  904.       The CGA version of ORTHO also supports printed output to
  905.       Epson/IBM printers. Pressing any number from 0 to 6 while the
  906.       perspective plot is being used will cause the currently
  907.       displayed image to be printed using that printer graphic mode.
  908.       Do not press a return after pressing the number (since a
  909.       return will cause the image to disappear). Graphics mode 0
  910.       usually leads to a full-page image while mode 1 leads to a
  911.       reduced image. Experiment! A screen capture and printing
  912.       utility such as PIZAZZ Plus (tm) or DELUX PAINT II (tm) is
  913.       also recommended for printing ORTHO displays.
  914.  
  915. Notes :
  916.  
  917. 1.    Titles may also be added to CGA ORTHO displays. To add a title
  918.       line, press a  "t" (but do not terminate it with a return)
  919.       immediately followed by the title characters. The title itself
  920.       should be terminated with a return. This process can be
  921.       repeated to produce multiple-line titles.  Note that titles
  922.       added in this way will not be printed unless a screen capture
  923.       utility is used.
  924.  
  925.  
  926. HERCULES VERSION : ORTHOHGA.EXE Version 3.01
  927.  
  928. Command Line Parameters : none
  929.  
  930. Operation :
  931.  
  932.       The operation of the HERCULES graphics adaptor version of
  933.       ORTHO is identical to that required for the CGA version
  934.       (including printing). See above.
  935.  
  936.  
  937. OVERLAY
  938.  
  939.  
  940. Version : 3.00
  941.  
  942. Purpose :
  943.  
  944.       An analytical module that produces a new image from the data
  945.       on two input images. New values can result from any of the
  946.       following operations on the two input images (referred to as
  947.       the "first" and "second" images during program operation) : 
  948.  
  949. [1] Add :               Corresponding pixels from the two images are
  950. added.
  951. [2] Subtract :          Pixels from the second image are subtracted
  952. from those of the first.
  953. [3] Multiply :          Corresponding pixels from the two images are
  954. multiplied.
  955. [4] Ratio :                   Pixels from the first image are divided
  956.                               by corresponding pixels from the second.
  957. [5] Normalized Ratio :        Divides the subtraction of the two images
  958.                               by their addition. Commonly used in the
  959.                               derivation of vegetation indices from
  960.                               remotely sensed data.
  961. [6] Exponentiate :            Raises pixels in the first image to the
  962.                               power of corresponding pixels in the
  963.                               second.
  964. [7] Cover :                   Covers pixels of the second image with
  965.                               those of the first, except where the first
  966.                               image has values of zero -- in these
  967.                               cells, the value of the second image shows
  968.                               through.
  969. [8] Minimize :          Output pixels represent the minimum of those
  970.                         in corresponding positions on the first and
  971.                         second images.
  972. [9] Maximize :                Output pixels represent the maximum of
  973.                               those in corresponding positions on the
  974.                               first and second images.
  975.  
  976. Command Line Parameters : None
  977.  
  978. Operation :
  979.  
  980.       OVERLAY begins by presenting the menu of overlay types
  981.       discussed above.  Select the overlay desired by entering a
  982.       single digit number. Next, OVERLAY asks for the names of the
  983.       "first" and "second" images. Pay careful attention to the
  984.       relationship between these two images in the overlay as
  985.       indicated in the menu. Finally, OVERLAY asks for the name of
  986.       the output image (enter a new name up to 8 characters in
  987.       length), and a title.
  988.  
  989. Notes :
  990.  
  991. 1.    Boolean analyses can be undertaken with OVERLAY using binary
  992.       images. See the GETTING STARTED section on "Analyzing Images".
  993. 2.    OVERLAY uses standard mixed arithmetic rules in determining
  994.       the data type of the result.
  995. 3.    OVERLAY will create an output file in packed binary format
  996.       only if both input files are stored in this manner.
  997. 4.    OVERLAY will create a byte output file only if the input files
  998.       are in byte format and the lowest possible minimum and the
  999.       highest possible maximum fall with the range of 0-255. If it
  1000.       is determined at the end that an output file predicted to
  1001.       possibly have non-byte values does completely conform to byte
  1002.       limits, a message will be displayed to indicate that
  1003.       compaction to byte format is possible.
  1004.  
  1005. Error Messages :
  1006.  
  1007. 1.    File types don't match. Output file type is binary.
  1008.       -     One input file is in ASCII format while the other is in
  1009.             binary format. This is a warning only, and will not stop
  1010.             operation -- the output file format is set to binary.
  1011. 2.    Note : Output file is suitable for compaction to byte format.
  1012.       -     This is an informational note only. After completion,
  1013.             OVERLAY has determined that conversion to byte format (a
  1014.             more compact data format) is possible. Use CONVERT to do
  1015.             so if you wish.
  1016.             
  1017.             
  1018. PARE
  1019.  
  1020.  
  1021.  
  1022. Version : 3.00
  1023.  
  1024. Purpose :
  1025.  
  1026.       PARE "pares" (ie., removes) the header or trailer from a data
  1027.       file. It is commonly used to convert a foreign data file to
  1028.       an IDRISI image format. Many GIS and image processing systems
  1029.       use a format very similar to IDRISI but attach the
  1030.       documentation to the front of the file (known as a "header").
  1031.       PARE can be used to remove the header and thus yield a file
  1032.       that IDRISI can read.
  1033.  
  1034. Command Line Parameters : 
  1035.  
  1036.       Using an "n" command line parameter (ie., "PARE n") will cause
  1037.       PARE to expect that the file contains 4-bit integers. A 4-bit
  1038.       integer has a range from 0-15 and requires only half a byte
  1039.       for storage. A half-byte unit is sometimes called a "nybble" -
  1040.        hence the "n" parameter.
  1041.  
  1042.  
  1043. Operation :
  1044.  
  1045.       PARE begins by asking for the name of the file to be pared,
  1046.       complete with its extension. It will then ask for a new name
  1047.       for the IDRISI image to be produced. You will then be asked
  1048.       for the size of the header to be removed (always specify this
  1049.       in bytes) followed by the number of rows and columns in the
  1050.       image to result. Finally, it will ask for the width and height
  1051.       of each cell and a title for the image to be produced.
  1052.  
  1053. Notes : none
  1054.  
  1055. Error Messages : none
  1056.  
  1057.  
  1058. RECLASS
  1059.  
  1060.  
  1061. Version : 3.00
  1062.  
  1063. Purpose :
  1064.  
  1065.       RECLASS provides facilities for classifying or reclassifying
  1066.       the data stored in images or attribute values files into new
  1067.       integer categories.  Classification (or reclassification) is
  1068.       either by equal intervals division of the data range, or by
  1069.       the application of user-defined limits.
  1070.  
  1071. Command Line Parameters : 
  1072.  
  1073.       Specifying an "a" command line parameter (ie., "RECLASS a")
  1074.       will cause RECLASS to expect to reclassify an attribute values
  1075.       file rather than the usual image file.
  1076.  
  1077. Operation :
  1078.  
  1079.       RECLASS first asks for the name of the file to be classified
  1080.       (or reclassified), followed by a new name (up to 8 characters
  1081.       in length) for the classified result. RECLASS then asks that
  1082.       you choose between :
  1083.  
  1084.       [1] : Equal Intervals Classification
  1085.       [2] : User-defined Classification
  1086.  
  1087.       If option [1] is chosen, you are then presented with the
  1088.       current minimum and maximum values in the input image, and
  1089.       asked whether you would like to change them (only for the
  1090.       duration of this module). It is not uncommon that the minimum
  1091.       and maximum are changed in order that the classes derived
  1092.       start and end at some even value. Thus, for example, for a
  1093.       data set with a minimum of 2 and a maximum of 57, you might
  1094.       change these to be 0 and 60. Answer "y" or "n" according to
  1095.       your choice. If your answer is yes, RECLASS will then ask for
  1096.       the new values to assign to the minimum and maximum. In either
  1097.       case, you will next be asked whether you wish to set the
  1098.       classification by specifying the number of classes to be used
  1099.       or the width of each class. Depending upon your choice you
  1100.       will then be asked either for the number of classes into which
  1101.       the data should be divided or the width to be used in devising
  1102.       each class. Finally, you will be asked for a title.
  1103.  
  1104.       If option [2] is chosen, you will be presented with some brief
  1105.       instructions on entering the limits and values of each class.
  1106.       The sequence is quite straightforward. For each class, you
  1107.       must enter the new value (an integer) of the class. You will
  1108.       then be asked for the range of old values (which may be real
  1109.       numbers) that should be assigned to this new class. The choice
  1110.       of the old values is important. The class will include the
  1111.       lower of the old values but not the higher one (ie., it will
  1112.       include all values equal to or greater than the lower one, and
  1113.       less than the higher one). Values outside the actual data
  1114.       range are permitted, and are a good way of ensuring that all
  1115.       old data values are in fact reclassified. For example, suppose
  1116.       the old data values range from 11 to 51, and it was intended
  1117.       to create two new classes: the first containing all old values
  1118.       less than 30 and the second containing all old values greater
  1119.       than 30.  Choosing ranges from 11 to 30 for the first and 30
  1120.       to 51 for the second would be incorrect since the value 51
  1121.       would not have been included in the higher class. Ranges from
  1122.       11 to 30 for the first, and 30 to 52 would work.
  1123.  
  1124.       Continue entering ranges like this until all classes have been
  1125.       defined (the order of defining classes is not important). When
  1126.       you wish to finish, enter a "-1" as the new value of the next
  1127.       class. You will then be asked for the title of the new image.
  1128.  
  1129. Notes :
  1130.  
  1131. 1.    There is no real difference between classification and
  1132.       reclassification with respect to the operation of this module.
  1133.  
  1134. Error Messages :
  1135.  
  1136. 1.    Unclassified value greater than 32767 set to 32767.
  1137.       -     This is a warning only that may occur with input images
  1138.             containing real numbers. If a cell is not reclassified
  1139.             (because of the reclassification ranges specified), it
  1140.             normally is left unchanged.  However, integer numbers may
  1141.             not exceed 32767. Therefore, an unclassified (ie.,
  1142.             unchanged) value which exceeds this must be forced to
  1143.             conform to the limits of the integer data type (all
  1144.             output images from RECLASS are integer).
  1145. 2.    Unclassified value less than -32767 set to -32767.
  1146.       -     This is a warning only that may occur with input images
  1147.             containing real numbers. If a cell is not reclassified
  1148.             (because of the reclassification ranges specified), it
  1149.             normally is left unchanged.  However, integer numbers may
  1150.             not be less -32767. Therefore, an unclassified (ie.,
  1151.             unchanged) value which is less than this must be forced
  1152.             to conform to the limits of the integer data type (all
  1153.             output images from RECLASS are integer).
  1154. 3.    Specified width does not fit evenly within the range. Max
  1155.       adjusted.
  1156.       -     This message occurs when equal intervals classification
  1157.             is achieved by specifying the width of the classes, and
  1158.             the range from minimum to maximum does not contain an
  1159.             integer number of these widths. In this case, the maximum
  1160.             is adjusted upwards automatically. This is a warning
  1161.             only, and does not halt module operation.
  1162. 4.    Attribute values file contains string data.
  1163.       -     Only attribute values files which contain numeric data
  1164.             can be submitted to this module.
  1165.  
  1166.             
  1167.             
  1168. STRETCH
  1169.  
  1170.  
  1171. Version : 3.00
  1172.  
  1173. Purpose :
  1174.  
  1175.       STRETCH undertakes a linear rescaling of image values to fall
  1176.       with a range from 0 to a user-specified upper limit in
  1177.       preparation for the IMAGE and COLOR modules.
  1178.  
  1179. Command Line Parameters : None
  1180.  
  1181. Operation :
  1182.  
  1183.       STRETCH first asks for the name of the image to be stretched
  1184.       and a new name (up to 8 characters in length) for the
  1185.       resulting image. Next, the upper and lower bounds of the
  1186.       stretch are requested. The upper bound and all values greater
  1187.       than it will be forced to have the value of the upper limit
  1188.       (to be specified momentarily) while the lower bound and all
  1189.       values less than it will become 0.  Numeric values should be
  1190.       specified for both. However, the responses "max" and "min" may
  1191.       also be entered to indicate the maximum and minimum values of
  1192.       the image (generally not a good option). Commonly, the upper
  1193.       and lower bounds are set such that 5% of pixels fall outside
  1194.       each of these limits. HISTO can be used to determine these
  1195.       cut-off points (looking for the 0.05 and 0.95 points in the
  1196.       cumulative proportion column of the numeric output is perhaps
  1197.       the most direct approach). Without doing this, contrast may
  1198.       suffer for very skewed data sets. STRETCH then asks for the
  1199.       number of levels required.  If the image is being stretched
  1200.       for IMAGE, 32 should be specified (yielding values from 0 -
  1201.       31), whereas if it is being stretched for COLOR, the number
  1202.       will vary from 4 to 8 (for the CGA version) to 16 (for the
  1203.       CGA,EGA or VGA versions).  STRETCH finishes by asking for a
  1204.       title for the output image.
  1205.  
  1206. Notes : None
  1207.  
  1208. Error Messages :
  1209.  
  1210. 1.    Output is suitable for conversion to a byte or packed format.
  1211.       -     To aid in the integration of user-created modules, IDRISI
  1212.             modules always strive to maintain the data and file types
  1213.             of input images.  This is not, however, always the best
  1214.             choice for non-programming application. In this case,
  1215.             because of the nature of the input file, an integer
  1216.             output file has been created. However, the file is suit-
  1217.             able for data compaction using either a byte binary or
  1218.             a packed binary format. Use CONVERT to change to one of
  1219.             these types if you wish.
  1220.  
  1221.  
  1222. WINDOW
  1223.  
  1224.  
  1225. Version : 3.00
  1226.  
  1227. Purpose : To extract a sub-image from the original as a new image.
  1228.  
  1229. Command Line Parameters : None
  1230.  
  1231. Operation :
  1232.  
  1233.       WINDOW first asks for the name of the original image followed
  1234.       by a new name (up to 8 characters) for the resulting window
  1235.       image. WINDOW then asks for the column and row numbers of the
  1236.       upper-left corner of the sub-image window, followed by the
  1237.       column and row numbers of the lower-right corner of the
  1238.       window. Remember that columns and rows are numbered from 0,
  1239.       with the rows progressing from the top to the bottom.
  1240.  
  1241.       WINDOW next confirms the number of rows and columns of the
  1242.       output sub-image (the window image), after which it asks for
  1243.       a title for the new file.
  1244.  
  1245. Notes :
  1246.  
  1247. 1.    Remember that columns and rows are numbered from 0, with the
  1248.       rows progressing from the top to the bottom.
  1249. 2.    To extract a rectangular region that is not oriented in the
  1250.       same direction as the grid of the original image, use the
  1251.       RESAMPLE module.
  1252.  
  1253. Error Messages : None
  1254.  
  1255.  
  1256.  
  1257.  
  1258.  
  1259. Some Notes on Printers with IDRISI:
  1260.  
  1261. The three letter codes for each of the printer types are as follows (if your printer isn't listed here
  1262. then refer to the instructions on how to create a new driver for the device you own) :
  1263.  
  1264.          DEC LA34, LA50, LA75, LA100, LN03         :     dec
  1265.          Diconix 150 Ink Jet                       :     dcx
  1266.          IBM Graphics Printer or compatible        :     ibm
  1267.          IBM Proprinter or compatible              :     pro
  1268.          Epson FX-85 or compatible                 :     eps
  1269.          Epson LX-810 or compatible                :     lx8
  1270.          Hewlett Packard PaintJet/Laserjet         :     hpj
  1271.          Hewlett Packard DeskJet                   :     hdj
  1272.          Toshiba 321/321SL or compatible           :     tos
  1273.  
  1274.  
  1275. Creating New Printer Drivers
  1276.  
  1277. You will only need to read this section if you have already installed IDRISI and are experiencing
  1278. printer problems. Otherwise, you may skip this section entirely.
  1279.  
  1280. Most IDRISI modules that produce printer output share a common printer "driver". However, it may
  1281. be that you have a printer that does not match one of these types. If so, here is what you should do:
  1282.  
  1283. 1. Try each of the supplied printer drivers in turn to see if this alleviates the problem. You can do
  1284.    this by repeating the steps for installing your printer as outlined in Section 3. It is often the
  1285.    case that a printer may emulate another printer of a different make. For example, many dot
  1286.    matrix printers emulate the IBM Proprinter driver supplied here. If you still have no success,
  1287.    then read on ...
  1288.  
  1289. 2. The printer drivers supplied with IDRISI are simple text (ascii) files that contain the escape
  1290.    sequences used by printers to control their characteristics. These escape sequences are used by
  1291.    all printing modules other than the IMAGE module (IMAGE is a special graphics module that
  1292.    cannot be accommodated so easily). Therefore, you simply need to create a new driver file that
  1293.    contains the escape sequences which are appropriate for your printer.
  1294.  
  1295. IDRISI printer drivers consist of 16 lines of text, with the first 14 characters of each line being used
  1296. for annotation and the remaining 66 characters being used to indicate required information. Here is
  1297. a printout of the exact contents of the Proprinter driver supplied with IDRISI (named PRCOD-
  1298. ES.PRO)
  1299.  
  1300.    printer     : IBM Proprinter
  1301.    normal      : \027F\027W0\018\0273\036\027@
  1302.    bold        : \027E
  1303.    expanded    : \027W1
  1304.    compressed  : \015
  1305.    elite       : \027:
  1306.    6  lpi      : \0273\036
  1307.    12 lpi      : \0273\018
  1308.    normal chrs : 80
  1309.    elite  chrs : 96
  1310.    conden chrs : 137
  1311.    resolution  : 11
  1312.    memory used : conventional
  1313.    orientation : portrait
  1314.    Def. width  : 7.5
  1315.    Def. height : 5.625
  1316.  
  1317. Notice that the first 14 characters (up to and including the blank after the colon) are for descriptive
  1318. purposes only -- they are in fact ignored by all printing modules.
  1319.  
  1320. The first line lists a name for the printer, up to 14 characters in length.  You will see this name
  1321. appear on the top banner of all modules which use the driver (names longer than 14 characters will
  1322. be truncated).
  1323.  
  1324. Line 2 indicates the codes required to place the printer into a "normal"  state. In some cases, a
  1325. single command will do this, but the critical issue is that the commands listed should set the
  1326. characters to an unbolded condition, the print pitch to 10 characters per inch, and the line spacing
  1327. to single spaced (6 lines per inch). In the example shown here, multiple codes were required to
  1328. achieve this (you will be instructed on how to specify codes in a moment).
  1329.  
  1330. Line 3 indicates the codes required to start bold printing and Line 4 indicates the codes required to
  1331. produce expanded lettering (eg., 6 characters per inch). You may specify the code for any expanded
  1332. size you wish. Line 5 indicates the codes required for compressed (or condensed)  characters --
  1333. typically 16.5 - 17 characters per inch. Line 6 indicates the codes required for elite (12 characters
  1334. per inch) pitch. Lines 7 and 8 indicate the codes for setting the printer to single spacing (6 lines per
  1335. inch) and half-spacing (12 lines per inch). Lines 9, 10 and 11 indicate the number of characters that
  1336. can be printed in a complete line of normal (10 cpi), elite (12 cpi), and condensed (eg 17 cpi)
  1337. characters respectively. Line 12 indicates the resolution (dpi). Line 13 indicates the type of memory
  1338. available to the printer. Line 14 indicates the orientation of the paper, and lines 15 and 16 describe
  1339. the default size of the image to be printed.
  1340.  
  1341. Lines 2 - 8 all require that control codes (such as escape sequences) be indicated after the descriptive
  1342. title. All printers send control codes in the form of ascii characters (see BASIC CONCEPTS if you
  1343. are unfamiliar with this term). Some ascii characters are printable (such as the letters on this page);
  1344. others are not. Therefore IDRISI uses a convention for specifying ascii codes that is identical to that
  1345. used by many other software packages, such as LOTUS 1-2-3 and REFLEX. To specify an ascii
  1346. character, you can type either its printable representation, or the ascii code number as a three digit
  1347. number preceded by a backslash (\). For example the ascii code for the capital letter A can be
  1348. specified either by typing the letter "A", or by typing "\065" (since ascii code 65 is used to represent
  1349. the letter A). Many printer codes require the "escape" ascii code which is code number 27. It would
  1350. be represented in an IDRISI driver as \027 (note again that the code must be specified by three
  1351. numerals after the backslash). For example, the code to turn on bold printing on an IBM Proprinter
  1352. is "esc-E" (escape E), which you can see is coded as \027E. It could equally have been coded as
  1353. \027\069 (since the letter E is ascii code 69). Note that no spaces should be placed between multiple
  1354. codes and that upper/lower case does matter when specify ascii codes directly. Also, note that all
  1355. codes for a given attribute must be no more than 66 characters in total (ie., the combined codes fit
  1356. onto one line along with the 14 character description). Finally, note that the order in which these
  1357. code are specified cannot be changed.
  1358.  
  1359. To create your own customized driver, use a text editor or word processor that can create text file
  1360. (ascii) output to create a file that looks like the example shown here, but with the codes and
  1361. parameters required by your own printer (or even simpler, make a copy of one of the supplied
  1362. drivers such as PROCODES.PRO and then edit it to suit your needs). Your printer manual will
  1363. list the information for your specific printer. Then, when the driver is complete, copy it to all
  1364. working IDRISI disks and rename it IDRISI.PRN. All printing modules (other than IMAGE) look
  1365. for a file named IDRISI.PRN and read it to get the required codes for printer operation.
  1366.  
  1367. Finally, note that you can modify any printer driver in this fashion to take advantage of such features
  1368. as special fonts, colored ribbons, and the like.  Experiment .. it's harmless.
  1369.  
  1370.  
  1371. Changing the Text Colors
  1372.  
  1373. The ENVIRON module can be used to change the colors used for the display of text. Users with
  1374. monochrome monitors may also wish to alter the display colors since some graphics cards change
  1375. the brightness of text letters according to the color it is trying to emulate. To alter the colors of ei-
  1376. ther the banner, the main text, or the error and warning messages, select the appropriate item from
  1377. the list displayed by ENVIRON and enter a new color value according to the following list.
  1378.  
  1379.          0     Black                   8     Dark Grey
  1380.          1     Blue                    9     Bright Blue
  1381.          2     Green                   10    Bright Green
  1382.          3     Cyan                    11    Bright Cyan
  1383.          4     Red                     12    Bright Red
  1384.          5     Magenta                 13    Bright Magenta
  1385.          6     Brown                   14    Yellow
  1386.          7     Light Grey              15    White
  1387.  
  1388. You will notice that all three colors are represented in the
  1389. ENVIRON display. As a result, you can monitor the changes as you
  1390. specify them. Note that to return the system to its default
  1391. colors, simply press return when asked for the new color number.
  1392.  
  1393.  
  1394.